﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.FormWhx.Ruku
{
    public class ConnectFromModel:AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 单号
        /// </summary>
        public string ? FormNo { get; set; }
        /// <summary>
        /// 单据状态  //未入库 部门入库
        /// </summary>
        public int ? FormStaus { get; set; } 
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime ? StartTime { get; set; } 
        /// <summary>
        /// 供应商
        /// </summary>
        public string ? Provider { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string ? Department { get; set; }
        /// <summary>
        /// 开始人
        /// </summary>
        public string ? StartName { get; set; }
        /// <summary>
        /// 货品数量
        /// </summary>
        public int ? GoodsNum { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal ? GoodsPrice { get; set; }
        protected ConnectFromModel()
        {
        }

        public ConnectFromModel(Guid id, string formNo, int formStaus, DateTime startTime, string provider, string department, string startName, int goodsNum, decimal goodsPrice):base(id)
        {
            FormNo = formNo;
            FormStaus = formStaus;
            StartTime = startTime;
            Provider = provider;
            Department = department;
            StartName = startName;
            GoodsNum = goodsNum;
            GoodsPrice = goodsPrice;
        }
    }
}
